#include "StdAfx.h"
#include "misc_map.h"

void MI_CpuFill16( void* dest, u16 data, u32 size )
{
	s16* d = (s16*)dest;
	
	for (int i=0;i<size/2;i++)
	{
		d[i] = data;
	}
}

fx16 FX_SinIdx(int idx)
{
	return 0;
}

fx16 FX_CosIdx( int idx )
{
	return FX16_ONE;
}

///////////////////

void SND_StopTimer(u32 chBitMask,u32 capBitMask,u32 alarmBitMask,u32 flags )
{
}

void SND_StartTimer(u32 chBitMask,u32 capBitMask,u32 alarmBitMask,u32 flags )
{
}

const SNDCommand* SND_RecvCommandReply( u32 flags )
{
	return NULL;
}

BOOL SND_FlushCommand( u32 flags )
{
	return true;
}

void SND_SetupChannelPcm(int chNo,SNDWaveFormat format,const void* dataAddr,SNDChannelLoop loop,int loopStart,int dataLen,int volume,SNDChannelDataShift shift,int timer,int pan )
{
}

void SND_SetChannelVolume(u32 chBitMask,int volume,SNDChannelDataShift shift )
{
}